---
description: 'Docs for Preview aspect'
labels: ['docs', 'aspect', 'extensions']
---

import { Preview } from './index';

## Static Content Page in Preview

Docs for Preview aspect

### Component usage

Use your component in any Preview file:

```jsx
import { Preview } from '@teambit/aspect-docs.preview';

<Preview />;
```

### Render with theme and Preview providers

```jsx
import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';
import { MDXLayout } from '@teambit/ui.mdx-layout';
import { Preview } from '@teambit/aspect-docs.preview';

<ThemeCompositions>
  <MDXLayout>
    <Preview />
  </MDXLayout>
</ThemeCompositions>;
```
